package com.example.safeassistan.home.model;

import java.util.List;

public class TaskDegreeListModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1380802667764117505","code":"Z_1","name":"住院部主任","postRank":"3","companyId":"87c17549523d41108c87bd03b128a761","createBy":"zzz","createTime":"2021-04-10 16:39:45","updateBy":null,"updateTime":null,"sysOrgCode":"A03"},{"id":"1380802756020662274","code":"Z_2","name":"住院部副主任","postRank":"2","companyId":"87c17549523d41108c87bd03b128a761","createBy":"zzz","createTime":"2021-04-10 16:40:06","updateBy":null,"updateTime":null,"sysOrgCode":"A03"},{"id":"1380802897544867841","code":"Y","name":"院长","postRank":"5","companyId":"87c17549523d41108c87bd03b128a761","createBy":"zzz","createTime":"2021-04-10 16:40:40","updateBy":null,"updateTime":null,"sysOrgCode":"A03"},{"id":"1380802963462549506","code":"Y_1","name":"副院长","postRank":"4","companyId":"87c17549523d41108c87bd03b128a761","createBy":"zzz","createTime":"2021-04-10 16:40:55","updateBy":"lisisi","updateTime":"2021-05-29 11:08:07","sysOrgCode":"A03"},{"id":"1380803055510745089","code":"P_1","name":"普通员工","postRank":"1","companyId":"87c17549523d41108c87bd03b128a761","createBy":"zzz","createTime":"2021-04-10 16:41:17","updateBy":null,"updateTime":null,"sysOrgCode":"A03"},{"id":"1397477256573710338","code":"6","name":"生产员","postRank":"1","companyId":"87c17549523d41108c87bd03b128a761","createBy":"lisisi","createTime":"2021-05-26 16:58:36","updateBy":null,"updateTime":null,"sysOrgCode":"A04"},{"id":"1401099501023633410","code":null,"name":"门诊部员工","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:07","updateBy":null,"updateTime":null,"sysOrgCode":"A07"},{"id":"1401099548209553410","code":null,"name":"住院部员工","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:18","updateBy":null,"updateTime":null,"sysOrgCode":"A07"},{"id":"1401099585517887490","code":null,"name":"门诊部主任","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:27","updateBy":null,"updateTime":null,"sysOrgCode":"A07"},{"id":"1401099613703610369","code":null,"name":"住院部主任","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:34","updateBy":null,"updateTime":null,"sysOrgCode":"A07"},{"id":"1401099633504919553","code":null,"name":"院长","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:38","updateBy":null,"updateTime":null,"sysOrgCode":"A07"},{"id":"1401099660822421506","code":null,"name":"副院长","postRank":null,"companyId":"4a9216cd279741dc8dcc79ef0b735db9","createBy":"ceshi123","createTime":"2021-06-05 16:52:45","updateBy":null,"updateTime":null,"sysOrgCode":"A07"}]
     * timestamp : 1623288418798
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1380802667764117505
         * code : Z_1
         * name : 住院部主任
         * postRank : 3
         * companyId : 87c17549523d41108c87bd03b128a761
         * createBy : zzz
         * createTime : 2021-04-10 16:39:45
         * updateBy : null
         * updateTime : null
         * sysOrgCode : A03
         */

        private String id;
        private String code;
        private String name;
        private String postRank;
        private String companyId;
        private String createBy;
        private String createTime;
        private Object updateBy;
        private Object updateTime;
        private String sysOrgCode;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPostRank() {
            return postRank;
        }

        public void setPostRank(String postRank) {
            this.postRank = postRank;
        }

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public String getSysOrgCode() {
            return sysOrgCode;
        }

        public void setSysOrgCode(String sysOrgCode) {
            this.sysOrgCode = sysOrgCode;
        }
    }
}
